//vue公用js文件
import foot from '../../components/Common/foot'
const common={};
common.install=function (vue) {
    let pro = vue.prototype;

    vue.component('foot',foot);

    /**
     * 获取屏幕高宽
     * @returns {{width: number, height: number}}
     */
    pro.screenInfo=function () {
        return {
            width:screen.width,
            height:screen.height
        };
    };
}

export default common;